/**
 * 注册所有图标
 * 使用方法 https://element-plus.org/zh-CN/component/icon.html#icon-collection
 */
import * as ElementPlusIconsVue from '@element-plus/icons-vue'

export function load(app) {
    for (const [key, component] of Object.entries(ElementPlusIconsVue)) {
        app.component(key, component)
    }
}

const elementIcons = {
    install: function (app) {
        load(app)
    },
}

export default elementIcons
